home *** CD-ROM | disk | FTP | other *** search
- Path: gradine.cis.upenn.edu!gentile
- From: gentile@gradine.cis.upenn.edu (Elizabeth J Gentile)
- Newsgroups: comp.lang.c
- Subject: manipulating file pointer
- Date: 30 Mar 1996 19:35:22 GMT
- Organization: University of Pennsylvania
- Message-ID: <4jk2dq$d87@netnews.upenn.edu>
- NNTP-Posting-Host: gradine.cis.upenn.edu
- X-Newsreader: TIN [version 1.2 PL2-upenn1.3]
-
- I have a file with 80,000 lines - each line contains an integer value.
-
- I'm using fscanf to read each line, but when I reach the end of the file,
- I want to be able to go back to the beginning without reopening the file.
-
- Is there some way I can do this?
- (please respond by email to
- gentile@gradient.cis.upenn.edu )
-
- Thanks,
- Liz
-